package com.tjetc.service;

import com.github.pagehelper.PageInfo;
import com.tjetc.domain.Patient;
import com.tjetc.vo.Result;

import java.util.List;

import com.tjetc.vo.Result;

public interface PatientService{


    int deleteByPrimaryKey(Integer id);

    int insert(Patient record);

    int insertSelective(Patient record);

    Patient selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Patient record);

    int updateByPrimaryKey(Patient record);

    List<Patient> selectByUid(Integer uid);

    Result insertPatient(Patient patient);

    Result upbind(Integer id);

    List<Patient> selectByUidUnBind(Integer uid);

    Result updatePatient(Patient patient);

    PageInfo<Patient> findAllPatient(Integer curPage,Integer pageSize,String name);

    Result checkIdCard(Integer id, String input);
}
